/**
 * @author Miao
 * @description 获取组件名
 * @flow
 */
import * as React from 'react';
export default function getComponentName(Component: React.ComponentType<any>) {
    return Component.displayName || Component.name || 'Component';
}